package com.shiyingzi.auser.service;

import com.shiyingzi.auser.model.AUser;
import com.shiyingzi.common.PageableData;
import com.shiyingzi.common.ResponseData;

public interface AUserService {
	public static String BEAN_ID = "auser.AUserService";
	
	/**新增一个用户*/
	public ResponseData addAUser(AUser code);
	
	/**获取产品列表*/
	public PageableData<AUser> queryAUserList(int page, int limit, String userName);
	
	
	/**用户登录*/
	public ResponseData doALogin(AUser auser);
	
	/**根据ID获取用户*/
	public AUser getProductById(Integer id);
	/**根据ID修改用户*/
	public ResponseData updateAUser(AUser auser);
	/**根据ID修改用户密码*/
	public ResponseData upPasswordById(AUser auser);
}
